package me.weijing.common.model;

import com.j256.ormlite.field.DatabaseField;

public class ShiftMessage {
    @DatabaseField(generatedId = true)
    private int id;// 聊天标识
    @DatabaseField
    private String from;
    @DatabaseField
    private String to;
    @DatabaseField
    private MessageType type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    private long eid;

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public long getEid() {
        return eid;
    }

    public void setEid(long eid) {
        this.eid = eid;
    }

}
